<?php

interface ISmEngine
{
    function getTag();
    function hasClose();
    function render();
}

class SmEngine
{
    protected $_content;
    protected $_tag;

    public function __construct($tag)
    {
        $this->_tag = $tag;
    }

    public function append($data)
    {
        $this->_content .= $data;
    }

    public function getTag()
    {
        return $this->_Open;
    }

    public function hasClose()
    {
        return $this->_Close;
    }
}